package com.hh.generator.core.model;

import lombok.Data;

/**
 * @Date 2020-06-06 17:00
 **/
@Data
public class FacadeModel extends ClassModel {

    private String springApplicationName;
    private String contextId;
    private String path;

    private String lowerEntityClassName;
    private String infoClassName;
    private String entityId;

    private Method queryMethod;
    private Method getMethod;
    private Method listMethod;
    private Method addMethod;
    private Method updateMethod;
    private Method deleteMethod;

    @Data
    public static class Method {
        private String methodName;
        private String request;
        private String response;
    }
}
